import logging

from pylons import request, response, session, tmpl_context as c, url
from pylons.controllers.util import abort, redirect

from legacy.lib.base import BaseController, render, Session
from legacy.model.kadry import Personal

log = logging.getLogger(__name__)

class ProbeController(BaseController):

    def index(self):
        # Return a rendered template
        #return render('/probe.mako')
        # or, return a string
        c.personal = Session.query(Personal).all()
        return render('/index.html')
